package com.ndp.fb.model.business.vo.stats;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by Wenbo on 2015/7/28.
 */
@Setter
@Getter
@NoArgsConstructor
public class AdResourceStatsQueryParam implements Serializable {

    private static final long serialVersionUID = -532547222733269440L;

    private int isDelete ;

    /**
     * 图片所有者
     */
    private Set<String> userIdSet;

    /**
     * FBAccountId
     */
    private Set<Long> accountIdSet;

    /**
     * 素材类型
     */
    private String resourceType;

    /**
     * 审核状态
     */
    private Integer reviewStatus;

    /**
     * 公司id
     */
    private Long orgId;

    /**
     * 素材来源
     */
    private Integer from;

    /**
     * 标签
     */
    private Map<String, Set<Object>> tags;

    /**
     * 统计开始日
     */
    private String startDay;

    /**
     * 统计结束日
     */
    private String endDay;

    private List<Map<String, Integer>> sortList;

    /**
     * 分页信息-第几页
     */
    private Integer page;

    /**
     * 分页信息-每页数量
     */
    private Integer pageSize;

    /**
     * 返回的字段
     */
    private Set<String> returnFields;

    private Boolean onlyNew;

    /**
     * 应用id列表，用于过滤统计数据
     */
    private Set<Long> fbConnectionObjectIds;

    /**
     * 是否根据应用进行分组返回数据
     */
    private Boolean isGroupByFbConnectionObjectId;

    /**
     * 细分字段
     */
    private String breakdowns;

    public void setIsGroupByFbConnectionObjectId(Boolean groupByFbConnectionObjectId) {
        isGroupByFbConnectionObjectId = groupByFbConnectionObjectId;
    }
}
